import { SecondCareerRuneSubTipsBase } from "./SecondCareerRuneSubTipsBase";
import { ItemData } from "../../../../resource/info/ItemData";
import { RuneSWallowedEffects } from "./RuneSWallowedEffects";
//class SecondCareerHolyRuneSubTips
    
    export  class SecondCareerHolyRuneSubTips extends SecondCareerRuneSubTipsBase
    {
        constructor()
        {
            super();
            return;
        }

        public /* override */ updateData(arg1: ItemData): void
        {
            if (arg1 == null) 
            {
                return;
            }
            super.updateData(arg1);
            this._swallowEffect.updateData(arg1);
            return;
        }

        public getHeight(): number
        {
            return 62 + this._swallowEffect.getHeight();
        }

        protected /* override */ createDisposedChildrenImpl(): void
        {
            super.createDisposedChildrenImpl();
            this._swallowEffect = new RuneSWallowedEffects();
            this._swallowEffect.y = 62;
            this.addChild(this._swallowEffect);
            return;
        }

        /* internal */ /* var */_swallowEffect: RuneSWallowedEffects;
    }
